<div data-ng-controller="contractDredgeCtrl">
    <div class="table-header clearfix ng-scope">
        <span class="fl lh30 f14">{{contractBaseInfo.contract_code}}</span>
    </div>
    <form class="form-horizontal">
        <div class="section-title c-orange ml10 mt10"><span class="ml10">基本信息</span>
        </div>
        <div class="form-group mt10">
            <span class="col-sm-3 control-label ml15">租户名称</span>

            <div class="col-sm-9">
                <input ng-model="dredges.friendlyName"
                       ng-disabled="true" class="form-control" type="text"/>
            </div>
        </div>
        <div class="form-group mt10">
            <span class="col-sm-3 control-label ml15">企业号</span>

            <div class="col-sm-9">
                <input ng-model="dredges.uniqueName"
                       ng-disabled="true" class="form-control" type="text"/>
            </div>
        </div>
        <div class="form-group mt10">
            <span class="col-sm-3 control-label ml15">租期</span>

            <div class="col-sm-4">
                <input type="text" class="input-date fl form-control" style="width:100%" ng-disabled="true"
                       ui-date format="yyyy-MM-dd" required name="sign_date" placeholder="租期开始日期" value="{{dredges.beginOn|strdate:'yyyy-MM-dd'}}">

            </div>
            <div class="col-sm-1 pt10">至</div>
            <div class="col-sm-4">
                <input type="text" class="input-date fl form-control" style="width:100%" ng-disabled="true"
                       ui-date format="yyyy-MM-dd" required name="sign_date" value="{{dredges.endOn|strdate:'yyyy-MM-dd'}}" placeholder="租期结束日期">
            </div>
        </div>
    </form>
    <div class="section-title c-orange ml10 mt10"><span class="ml10">授权信息</span>
    </div>
    <div id="grid" class="table-wrap mt10 ml25" style="min-height: 200px;">

        <table width="100%">
            <thead>
            <tr>
                <th width="40">序号</th>
                <th width="180">应用名称</th>
                <th width="100" class="align-r">授权项目数</th>
                <th></th>
            </tr>
            </thead>
            <tbody>
            <tr ng-repeat="record in dredges.AuthorizeList">
                <td height="40"><p ng-bind="$index + 1"></p></td>
                <td class="lh14">
                    <p ng-bind="record.applicationName"></p>
                </td>
                <td class="align-r">
                    <p ng-bind="record.totalNum|number"></p>
                </td>
                <td></td>
            </tr>
            </tbody>
        </table>
        <div class="no-data" ng-if="!dredges.AuthorizeList || dredges.AuthorizeList.length === 0"><span>暂无数据</span></div>

    </div>
</div>